package com;

public class Test {
    public static void main(String[] args) {
        Users user1=new Users();
        user1.setName("张三");

        Users user2=new Users();
        user2.setName("张三");
        System.out.println(user1==user2);
        System.out.println(user1.equals(user2));
    }
}
